<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' lang='en' xml:lang='en'>
<head>
  <title>FlexBugs AIR application</title>
  <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
  <script type='text/javascript' src='js/swfobject.js'></script>
  <%--<script type='text/javascript' src='js/badgeInstall.js'></script>--%>
  <script type="text/javascript">
    // <![CDATA[

    var flashvars = {};
    flashvars.airversion = '2.0';
    flashvars.appname = 'Flex Bugs';
    flashvars.appurl = '${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/flexbugs.air';
    flashvars.imageurl = 'images/badge-icon.png';


    swfobject.embedSWF('badge.swf', 'badge_div', '205', '170', '10.0.0', 'expressinstall.swf', flashvars);

    // ]]>
  </script>
</head>
<body>

<h1>Flex Bugs Download</h1>
<p>Click on the badge below to install the FlexBugs application</p>
<hr/>
<div id='badge_div'>
  To install this application you will need the <a href='http://www.adobe.com/products/flashplayer/'>Adobe Flash
  Player</a>
</div>
</body>
</html>